package test.proxy;

import java.lang.reflect.Proxy;

public class AOPContainer {
	public static Object getBean(Object obj) {
		HelloHandler handler = new HelloHandler(obj);
		return Proxy.newProxyInstance(obj.getClass().getClassLoader(), obj
				.getClass().getInterfaces(), handler);
	}
}
